package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/4/12.
 */

public class UploadImgBean implements IModel {


    /**
     * error_code : 0
     * msg : scucess
     * data : {"type":2,"detail":[{"imgid":"1697","ext":"png","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72700996.png","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72700996.png","img_path":"/Public/uploads/app/2017-05-05/590be72700996.png"},{"imgid":"1698","ext":"jpg","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727229d0.jpg","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727229d0.jpg","img_path":"/Public/uploads/app/2017-05-05/590be727229d0.jpg"},{"imgid":"1699","ext":"jpg","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727b7912.jpg","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727b7912.jpg","img_path":"/Public/uploads/app/2017-05-05/590be727b7912.jpg"},{"imgid":"1700","ext":"jpg","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72859ca3.jpg","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72859ca3.jpg","img_path":"/Public/uploads/app/2017-05-05/590be72859ca3.jpg"}]}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        /**
         * type : 2
         * detail : [{"imgid":"1697","ext":"png","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72700996.png","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72700996.png","img_path":"/Public/uploads/app/2017-05-05/590be72700996.png"},{"imgid":"1698","ext":"jpg","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727229d0.jpg","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727229d0.jpg","img_path":"/Public/uploads/app/2017-05-05/590be727229d0.jpg"},{"imgid":"1699","ext":"jpg","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727b7912.jpg","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be727b7912.jpg","img_path":"/Public/uploads/app/2017-05-05/590be727b7912.jpg"},{"imgid":"1700","ext":"jpg","url":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72859ca3.jpg","fullurl":"http://test.inviter.net//Public/uploads/app/2017-05-05/590be72859ca3.jpg","img_path":"/Public/uploads/app/2017-05-05/590be72859ca3.jpg"}]
         */

        private String type;
        private List<DetailBean> detail;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public List<DetailBean> getDetail() {
            return detail;
        }

        public void setDetail(List<DetailBean> detail) {
            this.detail = detail;
        }

        public static class DetailBean {
            /**
             * imgid : 1697
             * ext : png
             * url : http://test.inviter.net//Public/uploads/app/2017-05-05/590be72700996.png
             * fullurl : http://test.inviter.net//Public/uploads/app/2017-05-05/590be72700996.png
             * img_path : /Public/uploads/app/2017-05-05/590be72700996.png
             */

            private String imgid;
            private String ext;
            private String url;
            private String fullurl;
            private String img_path;

            public String getImgid() {
                return imgid;
            }

            public void setImgid(String imgid) {
                this.imgid = imgid;
            }

            public String getExt() {
                return ext;
            }

            public void setExt(String ext) {
                this.ext = ext;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getFullurl() {
                return fullurl;
            }

            public void setFullurl(String fullurl) {
                this.fullurl = fullurl;
            }

            public String getImg_path() {
                return img_path;
            }

            public void setImg_path(String img_path) {
                this.img_path = img_path;
            }
        }
    }
}
